Unset header-line-format format in " *which-key*" buffer
authorFrank Terbeck <ft@bewatermyfriend.org>
Tue, 6 Apr 2021 15:18:16 +0000 (17:18 +0200)
committerJustin Burkett <justin@burkett.cc>
Wed, 7 Apr 2021 00:28:00 +0000 (20:28 -0400)
Similarly to mode-line-format, header-line-format just takes up space and
currently also breaks window size calculations for the buffer. This sets
it to nil in order to suppress its display.

Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
which-key.el

index 55767a97f69617e922d272950db3c184026c7a61..8b4c60fdee846d528b62c9450bf02a32cb58e1ec 100644 (file)
@@ -840,6 +840,7 @@ problems at github. If DISABLE is non-nil disable support."
       (setq-local cursor-type nil)
       (setq-local cursor-in-non-selected-windows nil)
       (setq-local mode-line-format nil)
+      (setq-local header-line-format nil)
       (setq-local word-wrap nil)
       (setq-local show-trailing-whitespace nil)
       (run-hooks 'which-key-init-buffer-hook))))